//
//  MLZWebViewController.m
//  MotherLover
//
//  Created by lanou on 16/1/7.
//  Copyright © 2016年 zj. All rights reserved.
//

#import "MLZWebViewController.h"
#import "zJRequestManager.h"
@interface MLZWebViewController ()
@property (nonatomic, strong)UIWebView *webview;
@end

@implementation MLZWebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    NSLog(@"%@",self.webUrl);
    self.view.backgroundColor = [UIColor whiteColor];
    [self addWebView];
    self.tabBarController.tabBar.hidden= YES;
}
- (void)addWebView{
    
       
    _webview = [[UIWebView alloc]initWithFrame:CGRectMake(0, 64, KW, KH-64)];
    
    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:self.webUrl]];
    [_webview loadRequest:request];
    [self.view addSubview:_webview];
        
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
